package ink.onei.production.service;

import ink.onei.production.entity.Dept;
import ink.onei.production.entity.Staff;
import ink.onei.production.vo.StaffAndDeptVO;

import java.util.List;

/**
 * @Author: dang
 * @Description: TODO
 * @Date: 2023/12/27 14:33 星期三
 */
public interface IDepartmentService {
    List<Dept> getDeptAll();

    List<StaffAndDeptVO> getStaffAll();

    Dept getDeptById(Integer id);

    Integer addDept(Dept dept);

    Integer DelDeptById(Integer id);

    Integer EditDeptById(Dept dept);

    List<Dept> deptSearch(Dept dept);

    Integer deptBatch(List<Dept> deptList);

    Integer EditStaffById(Staff staff);
}
